<div class="requirements form">
<?php echo $form->create('Requirement');?>
	<fieldset>
 		<legend><?php __('Ajout d\'un requirement');?></legend>
	<?php
		echo $form->input('r_reference', array( 'label' => 'Référence :'));
		echo $form->input('r_title', array('label' => 'Titre :'));
		echo $form->input('r_description', array( 'label' => 'Description :', 'rows' => 4));
		echo $form->input('r_notes', array( 'label' => 'Notes :', 'rows' => 4));
		
		echo "<div class=\"input text\">" ;
		echo "<label for=\"RequirementRCategory\">Categorie :</label>" ;
		echo $form->select('r_category', $categories, null, null, false);
		
		echo "<label for=\"RequirementRApplicability\">Applicabilité :</label>" ;
		echo $form->select('r_applicability', $applicabilities, null, null, false);
		
		echo "<label for=\"RequirementRConformance\">Conformité :</label>" ;
		echo $form->select('r_conformance', $conformances, null, null, false);
	
		echo "<label for=\"RequirementRStatus\">Status :</label>" ;
		echo $form->select('r_status', array('nouveau' => 'nouveau', 'accepté' => 'accepté', 'à clarifier' => 'à clarifier', 'rejeté' => 'rejeté'), null, null, false);
		echo "</div>";
		
		echo $form->end('Ajouter');
	?>
	</fieldset>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Lister Requirement', true), array('action'=>'index'));?></li>
		<li><?php echo $html->link(__('Lister Projects', true), array('controller'=> 'projects', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Nouveau Project', true), array('controller'=> 'projects', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Lister Categories', true), array('controller'=> 'categories', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Nouveau Category', true), array('controller'=> 'categories', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Lister Applicabilities', true), array('controller'=> 'applicabilities', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Nouveau Applicability', true), array('controller'=> 'applicabilities', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Lister Conformances', true), array('controller'=> 'conformances', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Nouveau Conformance', true), array('controller'=> 'conformances', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Lister liens Procédure-Requirements', true), array('controller'=> 'procedure_requirements', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Nouveau lien Procédure-Requirement', true), array('controller'=> 'procedure_requirements', 'action'=>'add')); ?> </li>
		<li><?php echo $html->link(__('Lister liens Step-Requirement', true), array('controller'=> 'step_requirements', 'action'=>'index')); ?> </li>
		<li><?php echo $html->link(__('Nouveau lien Step-Requirement', true), array('controller'=> 'step_requirements', 'action'=>'add')); ?> </li>
	</ul>
</div>
